package com.cn.kabalifeuser.ui.my.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/11.
 * function:
 */
public class MyCouponListBean {


    /**
     * code : 200
     * result : {"data":[{"id":11,"uid":7,"order_id":88,"coupon_id":2,"coupon_pid":2,"status":2,"use_time":"2020-10-15 15:58:01","use_type":1,"updated_at":"2020-10-15 15:58:01","created_at":"2020-10-13 11:14:20","title":"打九折","money":"0.9折","type":2,"subtitle":"","time":"2020-09-10 00:00至2020-12-26 00:00:00","place":1,"place_val":{"id":0,"title":""}}],"count":1}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"id":11,"uid":7,"order_id":88,"coupon_id":2,"coupon_pid":2,"status":2,"use_time":"2020-10-15 15:58:01","use_type":1,"updated_at":"2020-10-15 15:58:01","created_at":"2020-10-13 11:14:20","title":"打九折","money":"0.9折","type":2,"subtitle":"","time":"2020-09-10 00:00至2020-12-26 00:00:00","place":1,"place_val":{"id":0,"title":""}}]
         * count : 1
         */

        private int count;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 11
             * uid : 7
             * order_id : 88
             * coupon_id : 2
             * coupon_pid : 2
             * status : 2
             * use_time : 2020-10-15 15:58:01
             * use_type : 1
             * updated_at : 2020-10-15 15:58:01
             * created_at : 2020-10-13 11:14:20
             * title : 打九折
             * money : 0.9折
             * type : 2
             * subtitle :
             * time : 2020-09-10 00:00至2020-12-26 00:00:00
             * place : 1
             * place_val : {"id":0,"title":""}
             */

            private int id;
            private int uid;
            private int order_id;
            private int coupon_id;
            private int coupon_pid;
            private int status;
            private String use_time;
            private int use_type;
            private String updated_at;
            private String created_at;
            private String title;
            private String money;
            private int type;
            private String subtitle;
            private String time;
            private int place;
            private PlaceValBean place_val;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getOrder_id() {
                return order_id;
            }

            public void setOrder_id(int order_id) {
                this.order_id = order_id;
            }

            public int getCoupon_id() {
                return coupon_id;
            }

            public void setCoupon_id(int coupon_id) {
                this.coupon_id = coupon_id;
            }

            public int getCoupon_pid() {
                return coupon_pid;
            }

            public void setCoupon_pid(int coupon_pid) {
                this.coupon_pid = coupon_pid;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getUse_time() {
                return use_time;
            }

            public void setUse_time(String use_time) {
                this.use_time = use_time;
            }

            public int getUse_type() {
                return use_type;
            }

            public void setUse_type(int use_type) {
                this.use_type = use_type;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public int getPlace() {
                return place;
            }

            public void setPlace(int place) {
                this.place = place;
            }

            public PlaceValBean getPlace_val() {
                return place_val;
            }

            public void setPlace_val(PlaceValBean place_val) {
                this.place_val = place_val;
            }

            public static class PlaceValBean {
                /**
                 * id : 0
                 * title :
                 */

                private int id;
                private String title;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }
}
